
.eps-top {
  width: 80%;
  height: 57px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  position: relative;
  /* background: red; */
  margin: 0 auto;
}

.eps-top .eps-top-left {
  width: 20%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.eps-top .eps-top-left img {
  width: 40%;
  height: 40%;
}

.eps-top .eps-top-cont {
  flex: 1;
}

.eps-top .eps-top-cont ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.eps-top .eps-top-cont ul li {
  margin: 0 20px;
  cursor: pointer;
}

.eps-top .eps-top-cont ul li.has-submenu .sub {
  display: none;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu {
  max-height: 0;
  width: 100vw;
  height: 400px;
  position: absolute;
  top: 100%;
  left: -200px;
  background-color: white;
  z-index: 999;
  transform: translateY(-10px);
  /* 初始位置在上方 */
  transition: all 0.6s ease-in-out;
  display: flex;
  flex-wrap: wrap;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu dl {
  width: 25%;
  height: 45%;
  margin: 10px 20px 0 20px;
  display: flex;
  align-items: center;
  color: black;
  border-radius: 20px;
  padding: 3px 0;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu dl dt {
  width: 10%;
  height: 100%;
  margin: 10px 20px;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu dl dd {
  margin-top: 10px;
  width: 90%;
  height: 100%;
  line-height: 28px;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu dl dd span {
  color: #939aa3;
  font-size: 12px;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu dl dd .hot {
  margin: 0 10px;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu dl dd p {
  font-size: 16px;
  font-weight: normal;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu dl:hover {
  background-color: #f6f7f9;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu dl dd p:hover {
  color: #2254f4;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu .submenuleft {
  width: 70%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu .submenuleft b {
  width: 100%;
  color: #939aa3;
  font-weight: 500;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu .submenuleft .lefttopmain {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  height: 45%;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu .submenuleft .lefttopmain dl {
  width: 28%;
  height: 40px;
  border-radius: 5px;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu .submenuleft .lefttopmain dl dd {
  line-height: 19px;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu .submenuleft .lefttopmain dl dd span {
  font-weight: normal;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu .submenuright {
  width: 15%;
  height: 80%;
  border-radius: 5px;
  margin: auto;
}

.eps-top .eps-top-cont ul li.has-submenu .sub .submenu .submenuright img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.eps-top .eps-top-cont ul li.has-submenu:hover {
  font-weight: bold;
}

.eps-top .eps-top-cont ul li.has-submenu:hover .sub {
  display: block;
}

.eps-top .eps-top-cont ul li.has-submenu:hover .submenu {
  max-height: 400px;
  /* 根据实际内容高度调整 */
  transform: translateY(0);
}

.eps-top .eps-top-cont ul li .arrow {
  font-size: 10px;
  margin-left: 0.5rem;
  /* 箭头与文字之间的间距 */
}

.eps-top .eps-top-right {
  width: 10%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eps-top .eps-top-right button {
  width: 120px;
  height: 40px;
  border: 0;
  background-color: #2254f4;
  color: white;
  border-radius: 4px;
}
